package com.dongdongshop.service;

import com.dongdongshop.pojo.TbItem;
import com.dongdongshop.pojo.TbItemCat;
import com.dongdongshop.pojo.TbSpecification;
import com.dongdongshop.util.PageBean;

import java.util.List;

public interface ItemService {
    PageBean<TbItemCat> getinfo(Integer number, Integer pageSize,Long pid);

    String toAdd(Long pid);

    Integer addinfo(TbItemCat t);

    Integer deleteAll(Long[] ids);

    TbItemCat toUpdate(Long id);

    Integer updateinfo(TbItemCat t);

    List<TbItemCat> toGet1(Long id);

    TbItemCat toGet2(Long id);

    TbItemCat getById(Long categoryId);
}
